<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--#config errmsg="" --><!-- saved from url=(0022)http://help.adobe.com/ -->
<html lang="en-us">
    <head>
        <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
        <meta name="lang" content="en-us" />
        <meta name="area" content="livedocs" />
        <title>InDesign CS4 * Table strokes and fills</title>
        <meta name="product" content="$product" />
        <meta name="productv" content="" />
        <meta name="keywords" content="" />
        <script type="text/javascript" language="Javascript" charset="UTF-8"><!--[CDATA[
        var currentTreeNode = "WSa285fff53dea4f8617383751001ea8cb3f-6fc1a.html";
// ]]--></script>
<script src="terms.js" type="text/javascript" language="Javascript" charset="UTF-8">...</script> <script src="help.js" type="text/javascript" language="Javascript" charset="UTF-8">...</script>  <script src="utilities.js" type="text/javascript" language="Javascript" charset="UTF-8">...</script> <script src="event.js" type="text/javascript" language="Javascript" charset="UTF-8">...</script> <script src="treeview.js" type="text/javascript" language="Javascript" charset="UTF-8">...</script> <script src="toc.js" language="Javascript" type="text/javascript" charset="UTF-8">..</script> 
<script type="text/javascript">
<!--[CDATA[
var headId = document.getElementsByTagName("head")[0];         
if (use_ie_6_behavior) {
    var linkId = document.createElement("link");
    linkId.href = "content-ie6.css";
    linkId.rel = "stylesheet";
    linkId.type = "text/css";
    headId.appendChild(linkId);
}
// ]]-->
</script>
<!--#include virtual="/livedocs/ssi/globalheader.ssi" -->
        <link rel="stylesheet" type="text/css" href="tree.css" />
        <link rel="stylesheet" type="text/css" href="content-fonts.css" />
        <link rel="stylesheet" type="text/css" href="content-hyperlinks.css" />
        <link rel="stylesheet" type="text/css" href="content.css" />
        <link rel="stylesheet" type="text/css" href="localeSpecific.css" />
    </head>
    <body id="content_body" onload="window.focus();">
        <a name="top"></a><div id="mnemonic">
            <div class="InDesign"><table><tr><td class="banner">InDesign CS4</td><td class="pod"><img src="images/PDF.gif" width="16" height="16" hspace="15" valign="50%" />&#160;&#160;
                     <a title="PDF" href="http://help.adobe.com/en_US/InDesign/6.0/indesign_cs4_help.pdf">
                         PDF (adobe.com) 
                    </a></td></tr></table></div>
        </div>
        <div id="searchbar">
<!-- BEGIN SEARCH CONTENT -->
            <form class="search_form" id="search" name="search" action="search.html" target="_self">
                <img src="images/search.png" />
<script type="text/javascript">
<!--[CDATA[
function clearSearch(){
    if (document.search.q.value == terms_AHV_SEARCH_BUTTON){document.search.q.value = ""}; 
}
document.write('<input class=\"search_input\" \
        name=\"q\" \
        id=\"q\" \
        type=\"text\" \
        maxlength=\"256\" \
        value=\"' + terms_AHV_SEARCH_BUTTON + '\" onclick=\"clearSearch()\"><\/input>'); 
// ]]-->


</script> 
            </form>
        </div>
<!-- BEGIN PAGE CONTENT WRAPPER -->
        <div id="page_content_wrapper">
<!-- BEGIN PAGE WRAPPER -->
<table id="page_content_table">
<tr>
<td id="col1">
<!-- BEGIN IONCOMMENTCOUNT -->
            <div id="ionComCount">
            </div>
<!-- END IONCOMMENTCOUNT -->
<!-- BEGIN GROUP TOC WRAPPER -->
            
<!-- END GROUP TOC WRAPPER -->
<!-- BEGIN NAV WRAPPER -->
            <div id="group_toc">
<script type="text/javascript">
<!--[CDATA[
if ( typeof(terms_BOOK_SHORT) != 'undefined' ) {
  document.write("<p>" + terms_BOOK_SHORT + "<\/p>");
}
// ]]-->


</script> 
            </div>
            <div id="nav_content">
            </div>
<!-- END NAV WRAPPER -->
</td>
<td id="col2">
<!-- BEGIN CONTENT WRAPPER -->
<!-- BEGIN BREADCRUMBS -->
            
            <div id="breadcrumb">
                
<ul class="navigation"><li class="prev"><a accesskey="p" class="prev" href="WSa285fff53dea4f8617383751001ea8cb3f-6fcaa.html" title="Work with overset cells"><img src="images/blank.gif" alt="Previous" width="17" height="17" /></a></li><li class="next"><a accesskey="n" class="next" href="WSD405E887-7AAA-432c-97D0-941BA773A47Ea.html" title="Table and cell styles"><img src="images/blank.gif" alt="Next" width="17" height="17" /></a></li></ul><div class="hierarchy"><a href="WSa285fff53dea4f8617383751001ea8cb3f-6ff6a.html"><b>Tables</b></a> 
     </div>

            </div>
<!-- END BREADCRUMBS -->
            <div id="content_wrapper">
<!-- BEGIN PAGE TITLE -->
                <h1>
                    Table strokes and fills
                </h1>
<!-- END PAGE TITLE -->
                <br clear="both" /><div id="minitoc"><div class="t"><div class="b"><div class="l"><div class="r"><div class="bl"><div class="br"><div class="tl"><div class="tr"><div><h3>Contents [<a href="#" onclick="return toggleMiniToc('minitoc-links', this);" class="hideLink">Hide</a>]</h3><ul id="minitoc-links"><li><p><a href="#WSa285fff53dea4f8617383751001ea8cb3f-6fc0a"><h3 class="topictitle3">About table strokes and fills</h3>
</a></p></li><li><p><a href="#WSa285fff53dea4f8617383751001ea8cb3f-6fbfa"><h3 class="topictitle3">Change the table border</h3>
</a></p></li><li><p><a href="#WS4F883524-31D7-41da-91D9-4510B247B1A8a"><h3 class="topictitle3">Add stroke and fill to cells</h3>
</a></p><ul><li><p><a href="#WSa285fff53dea4f8617383751001ea8cb3f-6fbda"><h4 class="topictitle4">Add stroke and fill using Cell Options</h4>
</a></p></li><li><p><a href="#WSa285fff53dea4f8617383751001ea8cb3f-6fbca"><h4 class="topictitle4">Add a stroke to cells by using the Stroke panel</h4>
</a></p></li><li><p><a href="#WSa285fff53dea4f8617383751001ea8cb3f-6fbba"><h4 class="topictitle4">Add a fill to cells</h4>
</a></p></li><li><p><a href="#WSB164DA18-0F72-4df2-8467-A8D02739AFB4a"><h4 class="topictitle4">Add a gradient to cells</h4>
</a></p></li></ul></li><li><p><a href="#WSa285fff53dea4f8617383751001ea8cb3f-6fbaa"><h3 class="topictitle3">Add diagonal lines to a cell</h3>
</a></p></li><li><p><a href="#WSa285fff53dea4f8617383751001ea8cb3f-6fb9a"><h3 class="topictitle3">Table stroke and fill options</h3>
</a></p></li><li><p><a href="#WSa285fff53dea4f8617383751001ea8cb3f-6fb7a"><h3 class="topictitle3">Alternate strokes and fills in a table</h3>
</a></p><ul><li><p><a href="#WSa285fff53dea4f8617383751001ea8cb3f-6fb6a"><h4 class="topictitle4">Add alternating strokes to a table</h4>
</a></p></li><li><p><a href="#WSa285fff53dea4f8617383751001ea8cb3f-6fb5a"><h4 class="topictitle4">Add alternating fills to a table</h4>
</a></p></li><li><p><a href="#WSa285fff53dea4f8617383751001ea8cb3f-6fb4a"><h4 class="topictitle4">Turn off alternating strokes and fills in a table</h4>
</a></p></li></ul></li></ul></div></div><br clear="both" /></div></div></div></div></div></div></div></div><br clear="both" /><div><ul class="navlinklist"></ul>
</div>
<div id="WSa285fff53dea4f8617383751001ea8cb3f-6fc0a" class="nochunk"><a name="WSa285fff53dea4f8617383751001ea8cb3f-6fc0a"></a><h2 class="topictitle2">About table strokes and fills</h2><div><p>You
can add strokes and fills to your tables in a number of ways. Use
the Table Options dialog box to change the stroke of the table border,
and to add alternating strokes and fills to columns and rows. To
change the strokes and fills of individual cells or header/footer
cells, use the Cell Options dialog box, or use the Swatches, Stroke,
and Color panels.</p>
<p>By default, the formatting you select using the Table Options
dialog box overrides any corresponding formatting previously applied
to table cells. However, if you select the Preserve Local Formatting
option in the Table Options dialog box, the strokes and fills applied
to individual cells are not overridden.</p>
<p>If you use the same formatting repeatedly for tables or cells,
create and apply table styles or cell styles.</p>
</div></div>
<div id="WSa285fff53dea4f8617383751001ea8cb3f-6fbfa" class="nochunk"><a name="WSa285fff53dea4f8617383751001ea8cb3f-6fbfa"></a><h2 class="topictitle2">Change the table border</h2><div><div class="section"><p>You can change the table border by using either
the Table Setup dialog box or the Stroke panel.</p>
</div>
<ol><li class="stepexpand"><span>With
the insertion point in the table, choose Table&#160;&gt; Table
Options&#160;&gt; Table Setup.</span></li>
<li class="stepexpand"><span>Under Table Border, specify the desired weight, type,
color, tint, and gap settings. (See <a href="WSa285fff53dea4f8617383751001ea8cb3f-6fb9a.html">Table stroke and fill options</a>.)</span></li>
<li class="stepexpand"><span>Under Stroke Drawing Order, select the drawing order
from the following options:</span> <dl><dt class="dlterm">Best Joins</dt>
<dd>If selected, row strokes will appear to the front at
the points where strokes of different colors cross. In addition,
when strokes such as double lines cross, the strokes are joined
and the crossing points are connected.</dd><p class="dlseparator"></p><dt class="dlterm">Row Strokes In Front</dt>
<dd>If selected, row strokes appear in front.</dd><p class="dlseparator"></p><dt class="dlterm">Column Strokes In Front</dt>
<dd>If selected, column strokes appear in front.</dd><p class="dlseparator"></p><dt class="dlterm">InDesign 2.0 Compatibility</dt>
<dd>If selected, row strokes appear in front. In addition, when
strokes such as double lines cross, they are joined and the crossing
points are connected only at points where strokes cross in a T‑shape.</dd><p class="dlseparator"></p></dl>
</li>
<li class="stepexpand"><span>If you do not want stroke formatting of individual cells
to be overridden, select Preserve Local Formatting. </span></li>
<li class="stepexpand"><span>Click&#160;OK.</span></li>
</ol>
<div class="section"><div class="tip"><img src="images/tip_help.png" />If you remove the stroke and fill from
a table, choose View&#160;&gt; Show Frame Edges to display the
cell boundaries of a table.</div></div>
</div></div>
<div id="WS4F883524-31D7-41da-91D9-4510B247B1A8a" class="nochunk"><a name="WS4F883524-31D7-41da-91D9-4510B247B1A8a"></a><h2 class="topictitle2">Add stroke and fill to cells</h2><div><div class="section"><p>You can add stroke
and fill to cells using the Cell Options dialog box, Stroke panel,
or Swatches panel. </p>
</div>
</div><div id="WSa285fff53dea4f8617383751001ea8cb3f-6fbda" class="nochunk"><a name="WSa285fff53dea4f8617383751001ea8cb3f-6fbda"></a><h3 class="topictitle3">Add stroke and fill using Cell Options</h3><div><div class="section"><p>You can determine which cell lines are formatted
with a stroke or fill by selecting or deselecting lines in the Preview
proxy. If you want to change the appearance of all rows or columns
in the table, use an alternating stroke or fill pattern in which
the second pattern is set to 0. </p>
</div>
<ol><li class="stepexpand"><span>Using the Type tool&#160;<img src="images/P_TypeHoriz_Lg_N.png" />, place
the insertion point in or select the cell or cells in which you
want to add a stroke or fill. To add a stroke or fill to header/footer rows,
select the header/footer cells at the beginning of the table.</span></li>
<li class="stepexpand"><span>Choose Table&#160;&gt; Cell Options&#160;&gt;
Strokes And Fills.</span></li>
<li class="stepexpand"><span>In the proxy preview area, specify which lines will be
affected by stroke changes. For example, if you want to add a heavy
stroke to the outside lines but not to the inside lines of the selected
cells, click an inside line to deselect it. (Selected lines are
blue; deselected lines are gray.)</span> <div class="fignone"><img alt="" id="se_05" src="images/se_05.png" /><div class="figdesc">Select the lines you want to affect in proxy preview area.</div><br /></div><div class="tip"><img src="images/tip_help.png" />In the proxy preview area, double-click any outside
line to select the entire outer selection rectangle. Double-click
any inside line to select the inside lines. Triple-click anywhere
in the proxy to select or deselect all lines.</div></li>
<li class="stepexpand"><span>For Cell Stroke, specify desired weight, type, color,
tint, and gap settings. (See <a href="WSa285fff53dea4f8617383751001ea8cb3f-6fb9a.html">Table stroke and fill options</a>.)</span></li>
<li class="stepexpand"><span>For Cell Fill, specify desired color and tint settings.</span></li>
<li class="stepexpand"><span>Select Overprint Stroke and Overprint Fill if desired,
and then click&#160;OK.</span></li>
</ol>
</div></div><div id="WSa285fff53dea4f8617383751001ea8cb3f-6fbca" class="nochunk"><a name="WSa285fff53dea4f8617383751001ea8cb3f-6fbca"></a><h3 class="topictitle3">Add a stroke to cells by using the Stroke panel</h3><div><ol><li><span>Select the cell or cells you want to affect. To
apply a stroke to header or footer cells, select the header or footer
row.</span></li>
<li><span>Choose Window&#160;&gt; Stroke to display the Stroke
panel.</span></li>
<li><span>In the proxy preview area, specify which lines will be
affected by stroke changes.</span></li>
<li><span>In the Tools panel, make sure the Object button&#160;<img src="images/P_Container_Sm_N.png" /> is
selected. (If the Text button&#160;<img src="images/P_FormattingAffectText_Xs_N.png" /> is
selected, the stroke changes will affect the text, not the cells.)</span></li>
<li><span>Specify a weight value and stroke type.</span></li>
</ol>
</div></div><div id="WSa285fff53dea4f8617383751001ea8cb3f-6fbba" class="nochunk"><a name="WSa285fff53dea4f8617383751001ea8cb3f-6fbba"></a><h3 class="topictitle3">Add a fill to cells</h3><div><ol><li><span>Select the cell or cells you want to
affect. To apply a fill to header or footer cells, select the header
or footer row.</span></li>
<li><span>Choose Window&#160;&gt; Swatches to display the Swatches
panel.</span></li>
<li><span>Make sure the Object button&#160;<img src="images/P_Container_Sm_N.png" /> is
selected. (If the Text button&#160;<img src="images/P_FormattingAffectText_Xs_N.png" /> is
selected, the color changes will affect the text, not the cells.)</span></li>
<li><span>Select a swatch.</span></li>
</ol>
</div></div><div id="WSB164DA18-0F72-4df2-8467-A8D02739AFB4a" class="nochunk"><a name="WSB164DA18-0F72-4df2-8467-A8D02739AFB4a"></a><h3 class="topictitle3">Add a gradient to cells</h3><div><ol><li><span>Select
the cells you want to affect. To apply a gradient to header or footer
cells, select the header or footer row.</span></li>
<li><span>Choose Window&#160;&gt; Gradient to display the Gradient
panel.</span></li>
<li><span>Click in the Gradient Ramp to apply a gradient to the
selected cells. Adjust the gradient settings as necessary. </span></li>
</ol>
</div></div></div>
<div id="WSa285fff53dea4f8617383751001ea8cb3f-6fbaa" class="nochunk"><a name="WSa285fff53dea4f8617383751001ea8cb3f-6fbaa"></a><h2 class="topictitle2">Add diagonal lines to a cell</h2><div><ol><li><span>Using the Type tool&#160;<img src="images/P_TypeHoriz_Lg_N.png" />, place
the insertion point in or select the cell or cells in which you
want to add diagonal lines.</span></li>
<li><span>Choose Table&#160;&gt; Cell Options&#160;&gt;
Diagonal Lines.</span></li>
<li><span>Click the button for the type of diagonal line you want
to add.</span></li>
<li><span>Under Line Stroke, specify desired weight, type, color,
and gap settings; specify a Tint percentage and Overprint options.</span></li>
<li><span>From the Draw menu, choose Diagonal In Front to place
the diagonal line in front of the cell contents; choose Content
In Front to place the diagonal line behind the cell contents, and
then click&#160;OK.</span></li>
</ol>
</div></div>
<div id="WSa285fff53dea4f8617383751001ea8cb3f-6fb9a" class="nochunk"><a name="WSa285fff53dea4f8617383751001ea8cb3f-6fb9a"></a><h2 class="topictitle2">Table stroke and fill options</h2><div><div class="section"><p>When selecting strokes and fills for the table
or cells, use the following options:</p>
<dl><dt class="dlterm">Weight</dt>
<dd>Specifies the line thickness for the table or cell border.</dd><p class="dlseparator"></p><dt class="dlterm">Type</dt>
<dd>Specifies the line style, such as Thick&#160;-&#160;Thin.</dd><p class="dlseparator"></p><dt class="dlterm">Color</dt>
<dd>Specifies the color of the table or cell border. The choices
listed are those available in the Swatches panel.</dd><p class="dlseparator"></p><dt class="dlterm">Tint</dt>
<dd>Specifies the percentage of ink of the specified color to
be applied to the stroke or fill.</dd><p class="dlseparator"></p><dt class="dlterm">Gap Color</dt>
<dd>Applies a color to the areas between the dashes, dots, or
lines. This option is not available if Solid is selected for Type.</dd><p class="dlseparator"></p><dt class="dlterm">Gap Tint</dt>
<dd>Applies tint to the areas between the dashes, dots, or lines.
This option is not available if Solid is selected for Type.</dd><p class="dlseparator"></p><dt class="dlterm">Overprint</dt>
<dd>When selected, causes the ink specified in the Color drop-down
list to be applied over any underlying colors, rather than knocking
out those inks.</dd><p class="dlseparator"></p></dl>
</div>
</div></div>
<div id="WSa285fff53dea4f8617383751001ea8cb3f-6fb7a" class="nochunk"><a name="WSa285fff53dea4f8617383751001ea8cb3f-6fb7a"></a><h2 class="topictitle2">Alternate strokes and fills in a table</h2><div><div class="section"><p>You
can alternate strokes and fills to enhance readability or improve
the appearance of your table. Alternating strokes and fills in table
rows does not affect header and footer rows. However, alternating
strokes and fills in columns does affect header and footer rows.</p>
<p>Alternating
stroke and fill settings override cell stroke formatting, unless
you select the Preserve Local Formatting option in the Table Options
dialog box.</p>
<div class="tip"><img src="images/tip_help.png" />If you want to apply a fill or
stroke to every body cell in the table, and not just alternating
patterns, you can still use the alternating stroke and fill settings
to create such non-alternating patterns. To create such an effect,
specify 0 for Next in the second pattern.</div><div class="fignone"><img alt="" id="se_06" src="images/se_06.png" /><div class="figdesc">Before (left) and after (right) alternating fills in a table</div><br /></div></div>
</div><div id="WSa285fff53dea4f8617383751001ea8cb3f-6fb6a" class="nochunk"><a name="WSa285fff53dea4f8617383751001ea8cb3f-6fb6a"></a><h3 class="topictitle3">Add alternating strokes to a table</h3><div><ol><li class="stepexpand"><span>With the insertion point in the table,
choose Table&#160;&gt; Table Options&#160;&gt; Alternating
Row Strokes or Alternating Column Strokes.</span></li>
<li class="stepexpand"><span>For Alternating Pattern, select the type of pattern you
want to use. Select Custom if you want to specify a pattern; for
example, one column with a thick black line followed by three columns
with thin yellow lines.</span></li>
<li class="stepexpand"><span>Under Alternating, specify the stroke or fill options
for both the first pattern and the next pattern. For example, you
may want to add a solid stroke to the first column and a Thick&#160;-&#160;Thin
line to the next column, so that they alternate. Specify 0 for Next
if you want the strokes to affect every row or column.</span> <div class="note"><span class="notetitle">Note:  </span>In tables that span multiple frames, alternating
strokes and fills for rows do not restart at the beginning of additional
frames in the story. (See <a href="WSa285fff53dea4f8617383751001ea8cb3f-6fd2a.html">Break tables across frames</a>.)</div>
</li>
<li class="stepexpand"><span>Select Preserve Local Formatting if you want formatted
strokes previously applied to the table to remain in effect.</span></li>
<li class="stepexpand"><span>For Skip First and Skip Last, specify the number of rows
or columns at the beginning and end of the table in which you do
not want stroke attributes to appear, and then click&#160;OK.</span></li>
</ol>
</div></div><div id="WSa285fff53dea4f8617383751001ea8cb3f-6fb5a" class="nochunk"><a name="WSa285fff53dea4f8617383751001ea8cb3f-6fb5a"></a><h3 class="topictitle3">Add alternating fills to a table</h3><div><ol><li><span>With the insertion point in the table,
choose Table&#160;&gt; Table Options&#160;&gt; Alternating
Fills.</span></li>
<li><span>For Alternating Pattern, select the type of pattern you
want to use. Select Custom if you want to specify a pattern, such
as one row shaded in gray followed by three rows shaded in yellow.</span></li>
<li><span>Under Alternating, specify the stroke or fill options
for both the first pattern and the subsequent pattern. For example,
if you selected Every Second Column for Alternating Pattern, you
may want to shade the first two columns in a gray tint and leave
the next two columns blank. Specify 0 for Next if you want the fill
to apply to every row.</span></li>
<li><span>Select Preserve Local Formatting if you want previously
formatted fills applied to the table to remain in effect.</span></li>
<li><span>For Skip First and Skip Last, specify the number of rows
or columns at the beginning and end of the table in which you do
not want fill attributes to appear, and then click&#160;OK.</span></li>
</ol>
</div></div><div id="WSa285fff53dea4f8617383751001ea8cb3f-6fb4a" class="nochunk"><a name="WSa285fff53dea4f8617383751001ea8cb3f-6fb4a"></a><h3 class="topictitle3">Turn off alternating strokes and fills in a table</h3><div><ol><li><span>Place the insertion point in the table.</span></li>
<li><span>Choose Table&#160;&gt; Table Options&#160;&gt;
Alternating Row Strokes, Alternating Column Strokes, or Alternating
Fills.</span></li>
<li><span>For Alternating Pattern, choose None, and then click&#160;OK.</span></li>
</ol>
</div></div></div>

                <div id="related">
                    <div class="separator">&#160;</div>
                    <div><p>&#160;<a href="WS4F05BF86-218B-4450-8737-5906F312CE53a.html">About table and cell styles</a></p>
</div>
                    
                </div>
                <div id="footer">
                    <p><img src="images/Community.png" />&#160;<a title="community help (adobe.com)" href="http://www.adobe.com/go/lr_InDesign_community_en">community help (adobe.com)</a></p>
<!-- BEGIN IONCOMMENTS -->
                    <div id="ionComHere">
                    </div>
<!-- END IONCOMMENTS -->
<!--#include virtual="ionComments.ssi" -->
                    <p id="creativecommons"><a href="http://creativecommons.org/licenses/by-nc-sa/3.0/" id="creativecommons_text"><img id="creativecommons_img" src="images/CC.png" alt="This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License" /></a></p>
                </div>
            </div>
<!-- END CONTENT WRAPPER -->
</td>
</tr>
</table>
        </div>
<!-- END PAGE CONTENT WRAPPER -->
<script type="text/javascript">
<!--[CDATA[
scrollToNameAnchor();
// ]]-->
</script> 
<!--#include virtual="/livedocs/ssi/globalfooter.ssi" -->
<!--#include virtual="/ubi/analytics/analytics_ssi.html" -->
    </body>
</html>